# README — Replication files

These materials replicate the analyses in:

**“It’s Not Just the Economy, Stupid: Corruption and Subjective Well Being in Africa, and Latin America and the Caribbean.”**

## What’s included
Two folders/archives:
- **Africa**: Stata do-file(s) for **Afrobarometer Round 8**.
- **LATAM**: Stata do-file(s) for **AmericasBarometer (LAPOP) 2014**.

## Data (not included)
Download the datasets directly from the data providers:
- **Afrobarometer Round 8**
- **AmericasBarometer / LAPOP 2014**

## How to run
1. Download the relevant dataset and save it locally.
2. Open Stata.
3. Open the do-file for the region you want to replicate.
4. Change the dataset name/path in the `use ...` line (if needed).
5. Run the do-file.

The do-files generate the variables and reproduce the main models and outputs (tables exported as `.csv` where specified).

## Software
- **Stata** (required)

## Contact
For questions about the replication code, please contact the authors.
